# Author: momo
# week04
user_data = "momo"
password_data = "123456"

count = 3
while True:
    # count 自减1，count -= 1
    count -= 1
    if count == -1:
        print("请在五分钟后尝试")
# 用户登录输入的信息
else:
    username = input("请输入正确的账号：")
    password = input("请输入正确的密码：")
# 判断账号是否正确
if username == user_data:
    # 判断 密码是否正确
    # 1. 密码正确
    if password == password_data:
        print("登陆成功，欢迎",user_data,"使用^V^")
# 2. 密码不正确
else:
    print("账号或密码输入错误！请重新输入,您还有",count,"次尝试机会")